package win.ganbo.easyframwork.domain;

import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Table(name="sys_user")
public class User extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	private String username;
	private String password;
	private String salt;		//加盐
	

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}


	@Override
	public String toString() {
		return "User{" +
				"username='" + username + '\'' +
				", password='" + password + '\'' +
				", salt='" + salt + '\'' +
				'}';
	}
}
